//清除浮动
.clear () {
    content:'';
    clear: both;
    display: block;
}
.tp(@width:100%, @height:100%){
    img{
        width: @width;
        height: @height;
    }
}
//宽、高、1px边框
.whb (@width, @height, @px:1px, @border) {
    width: @width;
    height: @height;
    border: @px solid @border;
}

//圆角-内核兼容
.border-radius (@radius) {
   -webkit-border-radius: @radius;
   -moz-border-radius: @radius;
   -o-border-radius: @radius;
}

//阴影-内核兼容
.box_shadow (@x: 0, @y: 0, @blur: 1px, @color: #000) {
    box-shadow: @arguments;
    -moz-box-shadow: @arguments;
    -webkit-box-shadow: @arguments;
    -o-box-shadow: @arguments;
}
//过渡-内核兼容
.transition (@all: all, @time: .3s, @quxian: ease) {
    transition: @arguments;
    -moz-transition: @arguments;
    -webkit-transition: @arguments;
    -o-transition: @arguments;
}
//放大-内核兼容
.transform (@fan: 1.1, @da: 1.1) {
    transform: scale(@fan,@da);
    -moz-transform: scale(@fan,@da);
    -webkit-transform:scale(@fan,@da) ;
    -o-transform: scale(@fan,@da);
}
//边框
.border (@color: #000, @width: 1px, @border: solid) {
    border: @arguments;
}
